package com.xbongbong.saas.enums.business;

import lombok.Getter;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/2/1 14:24
 * @since v1.0
 */
@Getter
public enum WorkReportFieldEnum {
    // 工作报告字段
    TYPE("text_1", "type"),
    REPORT_DATE("date_1", "reportDate"),
    APPROVED_PEOPLE("text_2", "approvedPeople"),
    CC("array_1", "cc"),
    THIS_PLAN("subForm_1", "thisPlan"),
    THIS_STATISTIC("text_4", "thisStatistic"),
    CONTENT("text_5", "content"),
    IMAGE("file_1", "image"),
    NEXT_PLAN("subForm_2", "nextPlan"),
    REVIEWER("array_3", "reviewer"),
    IS_RESSUE("text_6", "isRessue"),
    CREATOR_ID("creatorId", "creatorId"),
    ADD_TIME("addTime", "addTime"),
    UPDATE_TIME("updateTime", "updateTime"),
    ;
    private String attr;
    private String saasAttr;

    WorkReportFieldEnum(String attr, String saasAttr) {
        this.attr = attr;
        this.saasAttr = saasAttr;
    }
}
